﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VolCalendar.aspx.cs" Inherits="Volunteer.WebForm5" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Volunteer Calendar</title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="height: 637px; width: 793px;">
    
        <asp:Panel ID="Panel1" runat="server" BackColor="#339966" Height="73px" 
            Width="793px">
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>&nbsp;&nbsp;&nbsp; 
            BATTERED WOMEN&#39;S NETWORK</b>
        </asp:Panel>
        <br />
        <br />
        &nbsp;&nbsp;&nbsp; Volunteers Scheduled Hours:
        <br />
        <br />
&nbsp;&nbsp;&nbsp; <b>Date/Time From</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="txtDateFrom" runat="server" Width="118px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvDateFrom" runat="server" 
            ControlToValidate="txtDateFrom" ErrorMessage="Date From cannot be blank!" 
            Text="*" />
        &nbsp;(i.e. 01/22/2010 20:45)<br />
        <br />
        <b>&nbsp;&nbsp;&nbsp; Date/Time To&nbsp;&nbsp;&nbsp;&nbsp; </b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="txtDateTo" runat="server" Width="118px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvDateTo" runat="server" 
            ControlToValidate="txtDateTo" ErrorMessage="Date To cannot be blank!" 
            Text="*" />
        <br />
        <br />
&nbsp;&nbsp;&nbsp; <b>Volunteer ID</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="txtVID" runat="server" Width="118px"></asp:TextBox>
        <asp:CompareValidator ID="cvVID" runat="server" ControlToValidate="txtVID" 
            ErrorMessage="VID is not numeric" Operator="DataTypeCheck" 
            Text="*" Type="Integer" />
        <br />
        <table>
            <tr>
                <td style="vertical-align: bottom; width: 150px">
                    &nbsp;&nbsp;&nbsp;&nbsp;<b>Court Location</b></td>
                <td>
                    <asp:SqlDataSource ID="dsVolunteer" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:VolunteerDBConnectionString %>" 
                        SelectCommand="SELECT [CourtID], [CourtDistrict] FROM [Court]">
                    </asp:SqlDataSource>
                    <asp:DropDownList ID="ddlCourtName" runat="server" DataSourceID="dsVolunteer" 
                        DataTextField="CourtDistrict" DataValueField="CourtID">
                    </asp:DropDownList>
                </td>                
            </tr>
        </table>
        <br />
&nbsp;&nbsp;&nbsp; <b>Judge Name </b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="txtJudgeName" runat="server" Width="118px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvJudgeName" runat="server" 
            ControlToValidate="txtJudgeName" ErrorMessage="Judge Name cannot be blank!" 
            Text="*" />
        <br />
        <br />
&nbsp;&nbsp;&nbsp; <b>Hours Worked</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="txtHoursWorked" runat="server" Width="119px" Enabled="False"></asp:TextBox>
        <br />
        <br />
        <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Save" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <br />
        <br />
        <asp:ValidationSummary ID="vsSummary" runat="server" Font-Names="Verdana" 
            Font-Size="10pt" HeaderText="You have received the following errors:" />
        <br />
        <asp:Table runat="server">
            <asp:TableRow ID="trMessage" runat="server">
                <asp:TableCell>
                    <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
                </asp:TableCell>
            </asp:TableRow>
        </asp:Table>
        <center>
            <asp:LinkButton ID="lnkHome" runat="server" PostBackUrl="~/VolInfo.aspx">Home</asp:LinkButton>
            <br />
        </center>
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
    
    </div>
    </form>
</body>
</html>
